package cn.bandeqing.payRecord.entity;

import com.mybatisflex.annotation.EnumValue;
import io.github.linpeilie.annotations.AutoEnumMapper;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
@AutoEnumMapper("value")
public enum PayType {

    prepay(0, "定金"),
    final_payment(1, "尾款"),
    ;

    @EnumValue
    private final Integer value;

    private final String label;


}